import {httpRequest} from '@/request/https'

export default {
    /**
     * 律师合同分页查询
     * */
    postLawyerPage: params => httpRequest({url: '/con/conLawyer/page', method: 'post', params}),
    /**
     * 新增律师合同
     * */
    postAddLawyer: params => httpRequest({url: '/con/conLawyer', method: 'post', params}),
    /**
     * 修改律师合同
     * */
    putLawyer: params => httpRequest({url: '/con/conLawyer', method: 'put', params}),
    /**
     * 删除律师合同
     * */
    deleteLawyer: params => httpRequest({url: `/con/conLawyer/${params}`, method: 'delete'}),
    /**
     * 申请律师合同优秀模板
     * */
    postLawyerExcellent: params => httpRequest({url: `/con/conLawyer/excellent`, method: 'post', params}),
    /**
     * 查询律师合同详情
     * */
    getLawyerInfo: params => httpRequest({url: `/con/conLawyer`, method: 'get', params}),
    /**
     * 律师合同导出
     * */
    exportLawyer: params => httpRequest({url: `/con/conLawyer/export`, method: 'post', params})
}
